package com.raft.framework.internal

import android.annotation.SuppressLint
import android.support.annotation.NonNull
import android.util.Log
import timber.log.Timber

internal class CrashReportingTree : Timber.Tree() {

    @SuppressLint("LogNotTimber")
    override fun log(priority: Int, tag: String?, @NonNull message: String, t: Throwable?) {
//        if (priority == Log.VERBOSE || priority == Log.DEBUG) {
//            return
//        }
//
//        if (t != null) {
//            if (priority == Log.ERROR) {
//                Log.e(tag, message)
//            } else if (priority == Log.WARN) {
//                Log.w(tag, message)
//            }
//        }
    }
}